package com.nintendo.mapper;

import com.nintendo.entity.pojo.DetailCustomer;
import com.nintendo.entity.pojo.Order;

import java.util.List;

public interface OrderDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    void insertOrder(DetailCustomer order);

    void deleteOrder(String customerName, String tableNumber, String dishName, int quantity);

    List<Order> selectAll();

    Order selectById(Long orderId);
}